home *** CD-ROM | disk | FTP | other *** search
/ Belgian Amiga Club - ADF Collection / BS1 part 34.zip / BS1 part 34 / Aztec C 5.0a disk 1.adf / include / hardware / blit.h < prev    next >
C/C++ Source or Header  |  1988-07-15  |  1KB  |  66 lines

  1. #ifndef    HARDWARE_BLIT_H
  2. #define    HARDWARE_BLIT_H
  3. #define    HSIZEBITS    6
  4. #define    VSIZEBITS    16-HSIZEBITS
  5. #define    HSIZEMASK    0x3f
  6. #define    VSIZEMASK    0x3FF
  7. #define    MAXBYTESPERROW    128
  8. #define    ABC    0x80
  9. #define    ABNC    0x40
  10. #define    ANBC    0x20
  11. #define    ANBNC    0x10
  12. #define    NABC    0x8
  13. #define    NABNC    0x4
  14. #define    NANBC    0x2
  15. #define    NANBNC    0x1
  16. #define    A_OR_B    ABC|ANBC|NABC    |    ABNC|ANBNC|NABNC
  17. #define    A_OR_C    ABC|NABC|ABNC    |    ANBC|NANBC|ANBNC
  18. #define    A_XOR_C    NABC|ABNC    |    NANBC|ANBNC
  19. #define    A_TO_D    ABC|ANBC|ABNC|ANBNC
  20. #define    BC0B_DEST    8
  21. #define    BC0B_SRCC    9
  22. #define    BC0B_SRCB    10
  23. #define    BC0B_SRCA    11
  24. #define    BC0F_DEST    0x100
  25. #define    BC0F_SRCC    0x200
  26. #define    BC0F_SRCB    0x400
  27. #define    BC0F_SRCA    0x800
  28. #define    BC1F_DESC    2
  29. #define    DEST    0x100
  30. #define    SRCC    0x200
  31. #define    SRCB    0x400
  32. #define    SRCA    0x800
  33. #define    ASHIFTSHIFT    12
  34. #define    BSHIFTSHIFT    12
  35. #define    LINEMODE    0x1
  36. #define    FILL_OR    0x8
  37. #define    FILL_XOR    0x10
  38. #define    FILL_CARRYIN    0x4
  39. #define    ONEDOT    0x2
  40. #define    OVFLAG    0x20
  41. #define    SIGNFLAG    0x40
  42. #define    BLITREVERSE    0x2
  43. #define    SUD    0x10
  44. #define    SUL    0x8
  45. #define    AUL    0x4
  46. #define    OCTANT8    24
  47. #define    OCTANT7    4
  48. #define    OCTANT6    12
  49. #define    OCTANT5    28
  50. #define    OCTANT4    20
  51. #define    OCTANT3    8
  52. #define    OCTANT2    0
  53. #define    OCTANT1    16
  54. struct    bltnode
  55. {
  56. struct    bltnode    *n;
  57. int    (*function)();
  58. char    stat;
  59. short    blitsize;
  60. short    beamsync;
  61. int    (*cleanup)();
  62. };
  63. #define    CLEANUP    0x40
  64. #define    CLEANME    CLEANUP
  65. #endif
  66.